package io.renren.modules.basedata.dao;

import io.renren.modules.basedata.entity.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

@Mapper
public interface CardBlackDownloadDao {

    Integer getVersionInfo(HashMap<String, Object> map);

    void deleteCardBlackAllListDownInfo();

    void insertVersionInfo(tbl_VersonInfo versionInfo);

    void insertCardBlackAllListDownInfo(Tbl_CardBlackListDown tbl_cardBlackListDown);

    Integer getCardInfo();

    List<tbl_VersonInfo> getVersionInfoList(HashMap<String, Object> inc_versionMap);

    void insertCardBlackIncreListDownInfo(Tbl_CardBlackListDown tbl_cardBlackListDown);

    void deleteCardBlackIncreListDownInfo(Tbl_CardBlackListDown tbl_cardBlackListDown);

    void insertHisCardBlackDownInfo(TBL_CardStListPara cardBlackhis);

    int allCardBlackListCount();

    void deleteBlackList(int cardType);

    List<Tbl_cardBlackList> getBlackList(HashMap<String, Object> paraMap);

    void insertBlackList(TBL_CardStListPara cardSt);

    void updateConfig();

    int allOBUBlackListCount();

    List<tbl_ParamInfo> getAllBlackList();

    void insertParamVerinfo(tbl_ParaVerInfoDic paraver);

    tbl_VersonInfo selectVersionInfo();

    void updateVersinInfo(String recordId);

    ArrayList<tbl_ParaVerInfoDic> selectParamVerinfo(String fullDateString3);
}
